Skip to content

TOC-Undecidability and Reducibility

Halting Problem

Formally , Mr. Naive wants to design a TM to decide ( not recognize ) the language.

HALT={<M,w>|TM M halts on input w}.

However, this is only Mr. Naive’s daydreaming. This problem is mission impossible.

[!abstract]+ Theorem HALT is undecidable.

The sketch of the proof is as follows.

  • Assume HALT is decidable.
  • Thus, there is a TM M decides HALT.
  • Construct a string x in Σ such that
    • M accepts x only if M rejects x, and
    • M rejects x only if M accepts x; which is a contradiction.

Reduction

To prove “a language is undecidable” is not easy at all.

The idea of reduction is rather simple. It is used to prove one problem (deciding a language ) is no easier than another problem.

Assume we want to reduce problem A to problem B. First, we assume B is "solvable". Then, there must be a machine MB to solve B. Next, we try to construct a machine MA to solve A by making function calls to MB. Those function calls are like an oracle in a blackbox. In consequence, if MB solves B, then MA solves A. The conclusion will be "if B is solvable, then so is A". Intuitively, problem B is no easier than A. And we denote AB.